package com.ccrfid.rmc6.service.business.chongqing.baodeng.pojo;

import com.ccrfid.rmc6.util.JsonUtil;
import com.fasterxml.jackson.annotation.JsonProperty;

public class RespData {
    @JsonProperty(value = "ResCode")
    private Integer ResCode;    //0-失败; 1-成功
    @JsonProperty(value = "ResText")
    private String ResText;
    @JsonProperty(value = "Data")
    private TableData Data;

    public Integer getResCode() {
        return ResCode;
    }

    public void setResCode(Integer resCode) {
        ResCode = resCode;
    }

    public String getResText() {
        return ResText;
    }

    public void setResText(String resText) {
        ResText = resText;
    }

    public TableData getData() {
        return Data;
    }

    public void setData(TableData data) {
        Data = data;
    }

    @Override
    public String toString() {
        return JsonUtil.INSTANCE.writeValueAsString(this);
    }
}
